<?php

namespace Modules\Common\Repository\Options;

use App\Enums\ProductionOrderStatus as status;

class ProductionOrderStatus implements OptionInterface
{
    public function get(): array
    {

        $list = [];
        foreach (status::cases() as $case){
            $list[] = [
                'value' => $case->value,
                'label' => $case->label()
            ];
        }
        return $list;
    }
}
